#SVR_BIN:ChatServer 
#CLI_BIN:ChatClient 

#all:$(SVR_BIN) $(CLI_BIN)
all:ChatServer ChatClient 

ChatServer:ChatServer.cpp
	g++ $^ -o $@ -lpthread -std=c++11 -ljsoncpp

ChatClient:ChatClient.cpp 
	g++ $^ -o $@ -lpthread -std=c++11 -ljsoncpp -lncurses




.PHONY:clean
clean:
	#rm $(SVR_BIN) $(CLI_BIN)
	rm ChatClient ChatServer
